package com.signway.interfacejump;

import com.signway.interfacejump.slice.MainAbility2Slice;
import com.signway.interfacejump.utils.CommonData;
import com.signway.interfacejump.utils.LogUtil;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class MainAbility2 extends Ability {
    public MainAbility2() {
        LogUtil.info(TAG, "new");
    }
    public static final String TAG = CommonData.TAG + MainAbility2.class.getSimpleName();
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbility2Slice.class.getName());
        LogUtil.info(TAG, "onStart");
    }
    @Override
    protected void onForeground(Intent intent) {
        super.onForeground(intent);
        LogUtil.info(TAG, "onForeground");
    }

    @Override
    protected void onActive() {
        super.onActive();
        LogUtil.info(TAG, "onActive");
    }

    @Override
    protected void onInactive() {
        super.onInactive();
        LogUtil.info(TAG, "onInactive");
    }

    @Override
    protected void onBackground() {
        super.onBackground();
        LogUtil.info(TAG, "onBackground");
    }

    @Override
    protected void onStop() {
        super.onStop();
        LogUtil.info(TAG, "onStop");
    }
}
